import HttpServer from '../utils/HttpServer'
import qs from 'qs';

export const getTree = (params) => {
    return HttpServer.post('/sys/jggl/tree', qs.stringify(params))
    
}

export const getZFTree = (params) => {
    return HttpServer.post('/sys/jggl/getZFTree', qs.stringify(params))
    
}

export const updateJg = (params) => {
    return HttpServer.post('/sys/jggl/update', qs.stringify(params))
    
}

export const addJg = (params) => {
    return HttpServer.post('/sys/jggl/add', qs.stringify(params))
    
}

export const delJg = (params) => {
    return HttpServer.post('/sys/jggl/del', qs.stringify(params))
    
}

export const getVehList = (params) => {
    return HttpServer.post('/sys/clgl/list', qs.stringify(params))
    
}